package com.meshnetics.gb.util.checkers;

/**
 * Check range for short (int-16) value: -32768..32767.
 *
 * @author Yury Aserchev (yaserchev@meshnetics.com)
 *         Date: 23.06.2008 16:56:04
 */
class RangeCheckerShort extends AbstractRangeChecker {
    /**
     * Returns min value for short (-32768).
     * @return min value for short (-32768).
     */
    protected long getMin() {
        return Short.MIN_VALUE;
    }

    /**
     * Returns max value for short (32767).
     * @return max value for short (32767).
     */
    protected long getMax() {
        return Short.MAX_VALUE;
    }
}
